#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

void swap(int* p, int b)
{
	for (int c = 0; c < b; c++)
	{
		printf("%d", *p++);
	}

}
int main()
{
	int arr[10] = {0,1,2,3,4,5,6,7,8,9};
	int b = sizeof(arr) / sizeof(arr[0]);
	swap(arr, b);
}
